import request from '../util/request'

const baseUrl = process.env.NODE_ENV === 'production' ? '' : '/vehicleMap'

export function oplogApi(params){
    return request({
        url:baseUrl + "/lcoplogrecord/listLcOpLogRecord",
        method:'get',
        params:params

    })
}



export function deviceErrorApi(params) {
    return request({
      url:baseUrl+'/lcfaultproc',
      method: 'get',
      params:params
    })
  }

  
export function deviceRepairApi(params) {
    return request({
      url:baseUrl+'/lcrepairproc',
      method: 'get',
      params:params
    })
  }

  export function listLcOccFeeProcApi(params) {
    return request({
      url:baseUrl+'/lcoccfeeproc/listLcOccFeeProcByPage',
      method: 'get',
      params:params
    })
  }

  export function inspactRecordApi(params) {
    return request({
      url:baseUrl+'/lcinspectsign/listLcInspectSignByPage',
      method: 'get',
      params:params
    })
  }

  export function isReadApi(editdata) {

    const data = editdata
    return request({
      url:baseUrl+ '/lcfaultproc',
      method: 'put',
      data: data
    })
  }


  export function updateLcRepairProcApi(data) {
    return request({
      url:baseUrl+ '/lcrepairproc/updateLcRepairProc',
      method: 'post',
      data: data
    })
  }





  

  


  



  
